<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Calculatrice polonais inversé LO21: Référence de la classe Pile</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Calculatrice polonais inversé LO21
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Liste&#160;des&#160;classes</span></a></li>
      <li><a href="classes.html"><span>Index&#160;des&#160;classes</span></a></li>
      <li><a href="inherits.html"><span>Hiérarchie&#160;des&#160;classes</span></a></li>
      <li><a href="functions.html"><span>Membres&#160;de&#160;classe</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Fonctions membres publiques</a> &#124;
<a href="#pro-methods">Fonctions membres protégées</a>  </div>
  <div class="headertitle">
<div class="title">Référence de la classe Pile</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="Pile" -->
<p><code>#include &lt;<a class="el" href="pile_8h_source.html">pile.h</a>&gt;</code></p>

<p><a href="class_pile-members.html">Liste de tous les membres</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Fonctions membres publiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_constante.html">Constante</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a2bbdc329f485cd017f8cbf88456ae68a">pop</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_constante.html">Constante</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a25c322d47a76d758565bdf9df2253411">top</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a18a4d9a9b8013b36a5423817f9fb9049">push</a> (<a class="el" href="class_constante.html">Constante</a> *ptr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#ae45e55f151180284728643cb9cfe4095">isEmpty</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#aaae1107e877f7094bdbd97839c731634">size</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a07d95a908492bd45d1ac105aa78f9dcd">Pile</a> (QObject *parent=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#ab2d1398d675586ff34994e2b109df152">~Pile</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_constante.html">Constante</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a91875101e0976f054d1db8869a00b11d">sum</a> (unsigned int x=2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_constante.html">Constante</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a312bdfd2e167615c8d7f11adb2e639ed">mean</a> (unsigned int x=2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#aa3991438f190580607d7bbbd50ecc0c3">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a081f7843d01cae1f0f7be7d92e46d5d2">dup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a7488ed257c6ceb16ed57a9fffb0726d5">drop</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#ab6c3f9840427e2be87e0d76c8697fff5">swap</a> (unsigned int x, unsigned int y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a4964563804a254503d6413e5ba83d3c5">afficher</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_pile.html">Pile</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a4be384a2c00fff0afed507231a2974dc">copier_pile</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a380c3a467b58c175aef4f2cdc0f7a2c7">sauv_pile_context</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a44545327a8d02ad9775a2c918ea5cdfc">rowCount</a> (const QModelIndex &amp;parent) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#ac9d6e388d3a98eb57a786f9bbec30952">data</a> (const QModelIndex &amp;index, int role) const </td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Fonctions membres protégées</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_pile.html#a8d34708706c113ec9864f7c37c9083a2">operator=</a> (const <a class="el" href="class_pile.html">Pile</a> &amp;)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Description détaillée</h2>
<div class="textblock">
<p>Définition à la ligne <a class="el" href="pile_8h_source.html#l00010">10</a> du fichier <a class="el" href="pile_8h_source.html">pile.h</a>.</p>
</div><hr/><h2>Documentation des constructeurs et destructeur</h2>
<a class="anchor" id="a07d95a908492bd45d1ac105aa78f9dcd"></a><!-- doxytag: member="Pile::Pile" ref="a07d95a908492bd45d1ac105aa78f9dcd" args="(QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_pile.html#a07d95a908492bd45d1ac105aa78f9dcd">Pile::Pile</a> </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="pile_8h_source.html#l00023">23</a> du fichier <a class="el" href="pile_8h_source.html">pile.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab2d1398d675586ff34994e2b109df152"></a><!-- doxytag: member="Pile::~Pile" ref="ab2d1398d675586ff34994e2b109df152" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_pile.html#ab2d1398d675586ff34994e2b109df152">Pile::~Pile</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructeur de pile</p>
<p>Destruction de la pile et de chaque membre de cette pile</p>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00045">45</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

</div>
</div>
<hr/><h2>Documentation des fonctions membres</h2>
<a class="anchor" id="a4964563804a254503d6413e5ba83d3c5"></a><!-- doxytag: member="Pile::afficher" ref="a4964563804a254503d6413e5ba83d3c5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="class_pile.html#a4964563804a254503d6413e5ba83d3c5">Pile::afficher</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Affichage pile</p>
<p>On affiche chaque élément de la pile en concaténant dans une QString </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Une <em>QString</em> correspondant à ce qui se trouve dans la pile</dd></dl>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00058">58</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa3991438f190580607d7bbbd50ecc0c3"></a><!-- doxytag: member="Pile::clear" ref="aa3991438f190580607d7bbbd50ecc0c3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_pile.html#aa3991438f190580607d7bbbd50ecc0c3">Pile::clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Vider la pile</p>
<p>On dépile chaque élément de la pile, en faisant appel à la fonction <em>pop</em> </p>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00131">131</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_aa3991438f190580607d7bbbd50ecc0c3_cgraph.png" border="0" usemap="#class_pile_aa3991438f190580607d7bbbd50ecc0c3_cgraph" alt=""/></div>
<map name="class_pile_aa3991438f190580607d7bbbd50ecc0c3_cgraph" id="class_pile_aa3991438f190580607d7bbbd50ecc0c3_cgraph">
<area shape="rect" id="node3" href="class_log_system.html#ab5b398fac784d6c20576829056a364a2" title="LogSystem::getInstance" alt="" coords="169,5,332,35"/><area shape="rect" id="node7" href="class_log_system.html#a29ba53a9628ac2c2c517bf751cb84a9a" title="LogSystem::ajouterFcihierEtConsole" alt="" coords="133,59,368,88"/><area shape="rect" id="node5" href="class_log_system.html#ac891dbbf0efb28b572555ee797b56998" title="LogSystem::LogSystem" alt="" coords="437,5,600,35"/><area shape="rect" id="node9" href="class_log_system.html#ad18f58f1ad0e8f23dc524c2f55d3e8fc" title="LogSystem::ajouterConsoleLog" alt="" coords="417,59,620,88"/><area shape="rect" id="node13" href="class_log_system.html#a26650fa1e4d9792106e4c3ddd727aaa9" title="LogSystem::ajouterFichierLog" alt="" coords="421,112,616,141"/><area shape="rect" id="node11" href="class_log_message.html#a2c6798fafd31aa115d18bd348da69e25" title="LogMessage::what" alt="" coords="671,85,801,115"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a4be384a2c00fff0afed507231a2974dc"></a><!-- doxytag: member="Pile::copier_pile" ref="a4be384a2c00fff0afed507231a2974dc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_pile.html">Pile</a> * <a class="el" href="class_pile.html#a4be384a2c00fff0afed507231a2974dc">Pile::copier_pile</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Copier la pile</p>
<p>Copie la pile et les éléments qu'elle contient</p>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00155">155</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a4be384a2c00fff0afed507231a2974dc_cgraph.png" border="0" usemap="#class_pile_a4be384a2c00fff0afed507231a2974dc_cgraph" alt=""/></div>
<map name="class_pile_a4be384a2c00fff0afed507231a2974dc_cgraph" id="class_pile_a4be384a2c00fff0afed507231a2974dc_cgraph">
<area shape="rect" id="node3" href="class_constante.html#ac6fb071229429f82cf489f8313461efa" title="Constante::recopie" alt="" coords="169,32,300,61"/><area shape="rect" id="node6" href="class_complexe.html#a2335ce4c53e2b11d4fa4bcbef45415ba" title="Complexe::setImaginaire" alt="" coords="351,5,516,35"/><area shape="rect" id="node8" href="class_complexe.html#a7e57ea7cf760e132c80a148e2c344cce" title="Complexe::setReelle" alt="" coords="361,59,505,88"/></map>
</div>
</p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a4be384a2c00fff0afed507231a2974dc_icgraph.png" border="0" usemap="#class_pile_a4be384a2c00fff0afed507231a2974dc_icgraph" alt=""/></div>
<map name="class_pile_a4be384a2c00fff0afed507231a2974dc_icgraph" id="class_pile_a4be384a2c00fff0afed507231a2974dc_icgraph">
<area shape="rect" id="node3" href="class_main_window.html#a10bc645984994b33d7176946fc06eff2" title="MainWindow::supprimer_tete_pileClicked" alt="" coords="476,5,737,35"/><area shape="rect" id="node7" href="class_main_window.html#a4d771b6ac11d2280aa5e45e4d47a2011" title="MainWindow::dupliquer_tete_pileClicked" alt="" coords="169,57,425,87"/><area shape="rect" id="node10" href="class_main_window.html#a0ae0ae526c8fcc96c7f32fc3b3727224" title="MainWindow::ENTERClicked" alt="" coords="200,111,395,140"/><area shape="rect" id="node5" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db" title="MainWindow::MainWindow" alt="" coords="788,83,967,112"/><area shape="rect" id="node13" href="class_main_window.html#a2472c42b862ef1dc38b75c4111a28590" title="MainWindow::EVALClicked" alt="" coords="516,160,697,189"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac9d6e388d3a98eb57a786f9bbec30952"></a><!-- doxytag: member="Pile::data" ref="ac9d6e388d3a98eb57a786f9bbec30952" args="(const QModelIndex &amp;index, int role) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant <a class="el" href="class_pile.html#ac9d6e388d3a98eb57a786f9bbec30952">Pile::data</a> </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00028">28</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7488ed257c6ceb16ed57a9fffb0726d5"></a><!-- doxytag: member="Pile::drop" ref="a7488ed257c6ceb16ed57a9fffb0726d5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_pile.html#a7488ed257c6ceb16ed57a9fffb0726d5">Pile::drop</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Suppression premier élément</p>
<p>Supprimer le premier élément de la pile</p>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00168">168</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a7488ed257c6ceb16ed57a9fffb0726d5_cgraph.png" border="0" usemap="#class_pile_a7488ed257c6ceb16ed57a9fffb0726d5_cgraph" alt=""/></div>
<map name="class_pile_a7488ed257c6ceb16ed57a9fffb0726d5_cgraph" id="class_pile_a7488ed257c6ceb16ed57a9fffb0726d5_cgraph">
<area shape="rect" id="node3" href="class_log_system.html#ab5b398fac784d6c20576829056a364a2" title="LogSystem::getInstance" alt="" coords="167,5,329,35"/><area shape="rect" id="node7" href="class_log_system.html#a29ba53a9628ac2c2c517bf751cb84a9a" title="LogSystem::ajouterFcihierEtConsole" alt="" coords="131,59,365,88"/><area shape="rect" id="node5" href="class_log_system.html#ac891dbbf0efb28b572555ee797b56998" title="LogSystem::LogSystem" alt="" coords="435,5,597,35"/><area shape="rect" id="node9" href="class_log_system.html#ad18f58f1ad0e8f23dc524c2f55d3e8fc" title="LogSystem::ajouterConsoleLog" alt="" coords="415,59,617,88"/><area shape="rect" id="node13" href="class_log_system.html#a26650fa1e4d9792106e4c3ddd727aaa9" title="LogSystem::ajouterFichierLog" alt="" coords="419,112,613,141"/><area shape="rect" id="node11" href="class_log_message.html#a2c6798fafd31aa115d18bd348da69e25" title="LogMessage::what" alt="" coords="668,85,799,115"/></map>
</div>
</p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a7488ed257c6ceb16ed57a9fffb0726d5_icgraph.png" border="0" usemap="#class_pile_a7488ed257c6ceb16ed57a9fffb0726d5_icgraph" alt=""/></div>
<map name="class_pile_a7488ed257c6ceb16ed57a9fffb0726d5_icgraph" id="class_pile_a7488ed257c6ceb16ed57a9fffb0726d5_icgraph">
<area shape="rect" id="node3" href="class_main_window.html#a10bc645984994b33d7176946fc06eff2" title="MainWindow::supprimer_tete_pileClicked" alt="" coords="132,5,393,35"/><area shape="rect" id="node5" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db" title="MainWindow::MainWindow" alt="" coords="444,5,623,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a081f7843d01cae1f0f7be7d92e46d5d2"></a><!-- doxytag: member="Pile::dup" ref="a081f7843d01cae1f0f7be7d92e46d5d2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_pile.html#a081f7843d01cae1f0f7be7d92e46d5d2">Pile::dup</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Duplication</p>
<p>Duplication du premier élément de la pile</p>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00144">144</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a081f7843d01cae1f0f7be7d92e46d5d2_cgraph.png" border="0" usemap="#class_pile_a081f7843d01cae1f0f7be7d92e46d5d2_cgraph" alt=""/></div>
<map name="class_pile_a081f7843d01cae1f0f7be7d92e46d5d2_cgraph" id="class_pile_a081f7843d01cae1f0f7be7d92e46d5d2_cgraph">
<area shape="rect" id="node3" href="class_constante.html#ac6fb071229429f82cf489f8313461efa" title="Constante::recopie" alt="" coords="180,59,311,88"/><area shape="rect" id="node10" href="class_log_system.html#ab5b398fac784d6c20576829056a364a2" title="LogSystem::getInstance" alt="" coords="164,112,327,141"/><area shape="rect" id="node14" href="class_log_system.html#a29ba53a9628ac2c2c517bf751cb84a9a" title="LogSystem::ajouterFcihierEtConsole" alt="" coords="128,165,363,195"/><area shape="rect" id="node6" href="class_complexe.html#a2335ce4c53e2b11d4fa4bcbef45415ba" title="Complexe::setImaginaire" alt="" coords="431,5,596,35"/><area shape="rect" id="node8" href="class_complexe.html#a7e57ea7cf760e132c80a148e2c344cce" title="Complexe::setReelle" alt="" coords="441,59,585,88"/><area shape="rect" id="node12" href="class_log_system.html#ac891dbbf0efb28b572555ee797b56998" title="LogSystem::LogSystem" alt="" coords="432,112,595,141"/><area shape="rect" id="node16" href="class_log_system.html#ad18f58f1ad0e8f23dc524c2f55d3e8fc" title="LogSystem::ajouterConsoleLog" alt="" coords="412,165,615,195"/><area shape="rect" id="node20" href="class_log_system.html#a26650fa1e4d9792106e4c3ddd727aaa9" title="LogSystem::ajouterFichierLog" alt="" coords="416,219,611,248"/><area shape="rect" id="node18" href="class_log_message.html#a2c6798fafd31aa115d18bd348da69e25" title="LogMessage::what" alt="" coords="665,192,796,221"/></map>
</div>
</p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a081f7843d01cae1f0f7be7d92e46d5d2_icgraph.png" border="0" usemap="#class_pile_a081f7843d01cae1f0f7be7d92e46d5d2_icgraph" alt=""/></div>
<map name="class_pile_a081f7843d01cae1f0f7be7d92e46d5d2_icgraph" id="class_pile_a081f7843d01cae1f0f7be7d92e46d5d2_icgraph">
<area shape="rect" id="node3" href="class_main_window.html#a4d771b6ac11d2280aa5e45e4d47a2011" title="MainWindow::dupliquer_tete_pileClicked" alt="" coords="129,5,385,35"/><area shape="rect" id="node5" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db" title="MainWindow::MainWindow" alt="" coords="436,5,615,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae45e55f151180284728643cb9cfe4095"></a><!-- doxytag: member="Pile::isEmpty" ref="ae45e55f151180284728643cb9cfe4095" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_pile.html#ae45e55f151180284728643cb9cfe4095">Pile::isEmpty</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="pile_8h_source.html#l00021">21</a> du fichier <a class="el" href="pile_8h_source.html">pile.h</a>.</p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_ae45e55f151180284728643cb9cfe4095_icgraph.png" border="0" usemap="#class_pile_ae45e55f151180284728643cb9cfe4095_icgraph" alt=""/></div>
<map name="class_pile_ae45e55f151180284728643cb9cfe4095_icgraph" id="class_pile_ae45e55f151180284728643cb9cfe4095_icgraph">
<area shape="rect" id="node3" href="class_main_window.html#a1ccb4aa361ba5710af1ee09263a994fe" title="MainWindow::traiter_bloc_calcul" alt="" coords="155,5,365,35"/><area shape="rect" id="node5" href="class_main_window.html#a0ae0ae526c8fcc96c7f32fc3b3727224" title="MainWindow::ENTERClicked" alt="" coords="413,5,608,35"/><area shape="rect" id="node7" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db" title="MainWindow::MainWindow" alt="" coords="889,5,1068,35"/><area shape="rect" id="node9" href="class_main_window.html#a2472c42b862ef1dc38b75c4111a28590" title="MainWindow::EVALClicked" alt="" coords="657,31,839,60"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a312bdfd2e167615c8d7f11adb2e639ed"></a><!-- doxytag: member="Pile::mean" ref="a312bdfd2e167615c8d7f11adb2e639ed" args="(unsigned int x=2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_constante.html">Constante</a> * <a class="el" href="class_pile.html#a312bdfd2e167615c8d7f11adb2e639ed">Pile::mean</a> </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>x</em> = <code>2</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Moyenne sur la pile</p>
<p>Effectue la moyenne sur les <em>x</em> premiers éléments de la pile, en fonction du paramètre. Pour cela, on appelle la fonction <em>sum</em>, puis on divise en fonction du paramètre x </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td><a class="el" href="class_entier.html">Entier</a> correspondant au nombre d'éléments pour la moyenne </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Une <em><a class="el" href="class_constante.html">Constante</a></em> contenant le résultat de la moyenne</dd></dl>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00117">117</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a312bdfd2e167615c8d7f11adb2e639ed_cgraph.png" border="0" usemap="#class_pile_a312bdfd2e167615c8d7f11adb2e639ed_cgraph" alt=""/></div>
<map name="class_pile_a312bdfd2e167615c8d7f11adb2e639ed_cgraph" id="class_pile_a312bdfd2e167615c8d7f11adb2e639ed_cgraph">
<area shape="rect" id="node3" href="class_constante.html#ac41fa56ac5ebdfbcc886b8d249fb876d" title="Constante::division" alt="" coords="140,5,273,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a8d34708706c113ec9864f7c37c9083a2"></a><!-- doxytag: member="Pile::operator=" ref="a8d34708706c113ec9864f7c37c9083a2" args="(const Pile &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pile::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_pile.html">Pile</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2bbdc329f485cd017f8cbf88456ae68a"></a><!-- doxytag: member="Pile::pop" ref="a2bbdc329f485cd017f8cbf88456ae68a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_constante.html">Constante</a> * <a class="el" href="class_pile.html#a2bbdc329f485cd017f8cbf88456ae68a">Pile::pop</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Dépiler</p>
<p>Tester d'abord si la pile n'est pas vide. Si c'est bon, alors on dépile le premier élément, oorrespondant au dernier ajouté </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Une <em><a class="el" href="class_constante.html">Constante</a></em> correspondant au dernier élément, ou NULL</dd></dl>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00074">74</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a2bbdc329f485cd017f8cbf88456ae68a_cgraph.png" border="0" usemap="#class_pile_a2bbdc329f485cd017f8cbf88456ae68a_cgraph" alt=""/></div>
<map name="class_pile_a2bbdc329f485cd017f8cbf88456ae68a_cgraph" id="class_pile_a2bbdc329f485cd017f8cbf88456ae68a_cgraph">
<area shape="rect" id="node3" href="class_log_system.html#ab5b398fac784d6c20576829056a364a2" title="LogSystem::getInstance" alt="" coords="164,5,327,35"/><area shape="rect" id="node7" href="class_log_system.html#a29ba53a9628ac2c2c517bf751cb84a9a" title="LogSystem::ajouterFcihierEtConsole" alt="" coords="128,59,363,88"/><area shape="rect" id="node5" href="class_log_system.html#ac891dbbf0efb28b572555ee797b56998" title="LogSystem::LogSystem" alt="" coords="432,5,595,35"/><area shape="rect" id="node9" href="class_log_system.html#ad18f58f1ad0e8f23dc524c2f55d3e8fc" title="LogSystem::ajouterConsoleLog" alt="" coords="412,59,615,88"/><area shape="rect" id="node13" href="class_log_system.html#a26650fa1e4d9792106e4c3ddd727aaa9" title="LogSystem::ajouterFichierLog" alt="" coords="416,112,611,141"/><area shape="rect" id="node11" href="class_log_message.html#a2c6798fafd31aa115d18bd348da69e25" title="LogMessage::what" alt="" coords="665,85,796,115"/></map>
</div>
</p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a2bbdc329f485cd017f8cbf88456ae68a_icgraph.png" border="0" usemap="#class_pile_a2bbdc329f485cd017f8cbf88456ae68a_icgraph" alt=""/></div>
<map name="class_pile_a2bbdc329f485cd017f8cbf88456ae68a_icgraph" id="class_pile_a2bbdc329f485cd017f8cbf88456ae68a_icgraph">
<area shape="rect" id="node3" href="class_main_window.html#a1ccb4aa361ba5710af1ee09263a994fe" title="MainWindow::traiter_bloc_calcul" alt="" coords="156,5,367,35"/><area shape="rect" id="node9" href="class_main_window.html#a2472c42b862ef1dc38b75c4111a28590" title="MainWindow::EVALClicked" alt="" coords="687,111,868,140"/><area shape="rect" id="node13" href="class_main_window.html#aa9bae53abcb888f5e8cda8aa654e50e5" title="MainWindow::dernier_element_expression" alt="" coords="128,59,395,88"/><area shape="rect" id="node5" href="class_main_window.html#a0ae0ae526c8fcc96c7f32fc3b3727224" title="MainWindow::ENTERClicked" alt="" coords="443,59,637,88"/><area shape="rect" id="node7" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db" title="MainWindow::MainWindow" alt="" coords="919,85,1097,115"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a18a4d9a9b8013b36a5423817f9fb9049"></a><!-- doxytag: member="Pile::push" ref="a18a4d9a9b8013b36a5423817f9fb9049" args="(Constante *ptr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_pile.html#a18a4d9a9b8013b36a5423817f9fb9049">Pile::push</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_constante.html">Constante</a> *&#160;</td>
          <td class="paramname"><em>ptr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Empiler</p>
<p>Permet d'empiler la <a class="el" href="class_constante.html">Constante</a> entrée en paramètre dans la pile </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ptr</td><td>Un pointeur de <a class="el" href="class_constante.html">Constante</a></td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00008">8</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a18a4d9a9b8013b36a5423817f9fb9049_icgraph.png" border="0" usemap="#class_pile_a18a4d9a9b8013b36a5423817f9fb9049_icgraph" alt=""/></div>
<map name="class_pile_a18a4d9a9b8013b36a5423817f9fb9049_icgraph" id="class_pile_a18a4d9a9b8013b36a5423817f9fb9049_icgraph">
<area shape="rect" id="node3" href="class_calculatrice.html#a01b91f69f7ac10d737af66b3fa968db9" title="Constructeur de la calculatrice." alt="" coords="133,897,301,926"/><area shape="rect" id="node68" href="class_main_window.html#a2472c42b862ef1dc38b75c4111a28590" title="MainWindow::EVALClicked" alt="" coords="1547,1137,1728,1166"/><area shape="rect" id="node71" href="class_main_window.html#a1ccb4aa361ba5710af1ee09263a994fe" title="MainWindow::traiter_bloc_calcul" alt="" coords="903,1257,1113,1286"/><area shape="rect" id="node79" href="class_main_window.html#a5820c5fa916142942adc9984c434793e" title="MainWindow::traiter_bloc_expression" alt="" coords="577,1379,815,1409"/><area shape="rect" id="node82" href="class_main_window.html#aa9bae53abcb888f5e8cda8aa654e50e5" title="MainWindow::dernier_element_expression" alt="" coords="875,1406,1141,1435"/><area shape="rect" id="node5" href="class_calculatrice.html#a6311c8e75ac47e9f43ecd47ebc22c10b" title="Calculatrice::getInstance" alt="" coords="351,761,516,790"/><area shape="rect" id="node8" href="class_calculatrice.html#ae04068faaa66847c3f318c018824a277" title="Calculatrice::annuler" alt="" coords="625,270,767,299"/><area shape="rect" id="node10" href="class_main_window.html#ad796f3d5c13e4ed2ea90e17aa0a3d7a8" title="MainWindow::annulerClicked" alt="" coords="913,270,1103,299"/><area shape="rect" id="node12" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db" title="MainWindow::MainWindow" alt="" coords="1823,670,2001,699"/><area shape="rect" id="node14" href="class_calculatrice.html#ac9fea1beaab60d0c73c017a5d225a56c" title="Calculatrice::retablir" alt="" coords="627,374,765,403"/><area shape="rect" id="node16" href="class_main_window.html#abc93f16a699c5df5e5aedd67e1ad7e92" title="MainWindow::retablirClicked" alt="" coords="915,374,1101,403"/><area shape="rect" id="node20" href="class_main_window.html#a164eb394f8581e1f80fba559bcc3d2e5" title="MainWindow::vider_pileClicked" alt="" coords="1536,450,1739,479"/><area shape="rect" id="node23" href="class_main_window.html#a10bc645984994b33d7176946fc06eff2" title="MainWindow::supprimer_tete_pileClicked" alt="" coords="1191,478,1452,507"/><area shape="rect" id="node26" href="class_main_window.html#a4d771b6ac11d2280aa5e45e4d47a2011" title="MainWindow::dupliquer_tete_pileClicked" alt="" coords="1509,579,1765,609"/><area shape="rect" id="node29" href="class_main_window.html#aa181a30bc86fd676299a828b6806fff7" title="MainWindow::_modDegresToggled" alt="" coords="584,734,808,763"/><area shape="rect" id="node32" href="class_main_window.html#ae1cb8b4b1f79083accb25c66e6847abc" title="MainWindow::_modRadiansToggled" alt="" coords="893,747,1123,777"/><area shape="rect" id="node37" href="class_main_window.html#a6febb02daee1abb1c9c0d0f9d190b25c" title="MainWindow::_modComplexeONClicked" alt="" coords="567,942,825,971"/><area shape="rect" id="node40" href="class_main_window.html#a85b97292e1728650fc34d989170a0886" title="MainWindow::_modComplexeOFFClicked" alt="" coords="875,979,1141,1009"/><area shape="rect" id="node45" href="class_main_window.html#a0056914c89217bbef8879ccae4466e28" title="MainWindow::_clavierBasicStateChange" alt="" coords="1192,65,1451,94"/><area shape="rect" id="node48" href="class_main_window.html#a9200740951f715069c9f2bc7809f6e07" title="MainWindow::_clavierAvanceStateChange" alt="" coords="1503,117,1772,146"/><area shape="rect" id="node51" href="class_main_window.html#a29e8205bc963cebba7a96f94f4d3c40f" title="MainWindow::_modReel" alt="" coords="615,889,777,918"/><area shape="rect" id="node54" href="class_main_window.html#af8e967129145a378e37fc2ff4eb1379c" title="MainWindow::_modRationnel" alt="" coords="912,825,1104,854"/><area shape="rect" id="node58" href="class_main_window.html#a05cfdc8bf99fa145e67ce4d9eed03f20" title="MainWindow::_modEntier" alt="" coords="1236,722,1407,751"/><area shape="rect" id="node65" href="class_main_window.html#a0ae0ae526c8fcc96c7f32fc3b3727224" title="MainWindow::ENTERClicked" alt="" coords="1224,1194,1419,1223"/><area shape="rect" id="node74" href="mainwindow_8h.html#a5381fbfe5e9fcfad0c41b48f45ea8640" title="stringToConstante" alt="" coords="632,1275,760,1305"/><area shape="rect" id="node87" href="class_main_window.html#a4e20a4a065fbb0e4d3532a45a0a91425" title="MainWindow::closeEvent" alt="" coords="923,630,1093,659"/><area shape="rect" id="node89" href="class_pile.html#a380c3a467b58c175aef4f2cdc0f7a2c7" title="Pile::sauv_pile_context" alt="" coords="617,681,775,710"/><area shape="rect" id="node92" href="class_rationnel.html#aef5b4fb13f34b03cdf9132c272b5144f" title="Rationnel::afficher" alt="" coords="632,1046,760,1075"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a44545327a8d02ad9775a2c918ea5cdfc"></a><!-- doxytag: member="Pile::rowCount" ref="a44545327a8d02ad9775a2c918ea5cdfc" args="(const QModelIndex &amp;parent) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_pile.html#a44545327a8d02ad9775a2c918ea5cdfc">Pile::rowCount</a> </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>parent</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Compteur Taille</p>
<p>Permet de connaître la taille d'une pile </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>Un QModelIndex </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Un entier correspondant à la taille de la pile</dd></dl>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00017">17</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a380c3a467b58c175aef4f2cdc0f7a2c7"></a><!-- doxytag: member="Pile::sauv_pile_context" ref="a380c3a467b58c175aef4f2cdc0f7a2c7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_pile.html#a380c3a467b58c175aef4f2cdc0f7a2c7">Pile::sauv_pile_context</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sauvegarde de la pile</p>
<p>Sauvegarde la pile dans le fichier ini</p>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00195">195</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a380c3a467b58c175aef4f2cdc0f7a2c7_cgraph.png" border="0" usemap="#class_pile_a380c3a467b58c175aef4f2cdc0f7a2c7_cgraph" alt=""/></div>
<map name="class_pile_a380c3a467b58c175aef4f2cdc0f7a2c7_cgraph" id="class_pile_a380c3a467b58c175aef4f2cdc0f7a2c7_cgraph">
<area shape="rect" id="node3" href="class_calculatrice.html#a6311c8e75ac47e9f43ecd47ebc22c10b" title="Calculatrice::getInstance" alt="" coords="245,81,411,111"/><area shape="rect" id="node18" href="class_calculatrice.html#ac1fd3f178488afb8bc25dae790a9756d" title="Calculatrice::getContext" alt="" coords="247,135,409,164"/><area shape="rect" id="node20" href="class_log_system.html#ab5b398fac784d6c20576829056a364a2" title="LogSystem::getInstance" alt="" coords="247,188,409,217"/><area shape="rect" id="node24" href="class_log_system.html#a29ba53a9628ac2c2c517bf751cb84a9a" title="LogSystem::ajouterFcihierEtConsole" alt="" coords="211,241,445,271"/><area shape="rect" id="node5" href="class_calculatrice.html#a01b91f69f7ac10d737af66b3fa968db9" title="Constructeur de la calculatrice." alt="" coords="512,81,680,111"/><area shape="rect" id="node7" href="mainwindow_8cpp.html#a108d15359aba86f26b1bb30e7d0fd505" title="stringToConstante" alt="" coords="780,29,908,59"/><area shape="rect" id="node13" href="class_calculatrice.html#abc998bdc47fd8e4388f2d8b03f1d9949" title="Calculatrice::getPileStockage" alt="" coords="747,83,941,112"/><area shape="rect" id="node15" href="class_pile.html#a18a4d9a9b8013b36a5423817f9fb9049" title="Pile::push" alt="" coords="804,136,884,165"/><area shape="rect" id="node10" href="class_calculatrice.html#ad5a63f289cc5df7ccc7677ada5ca92b8" title="Calculatrice::getModComplexe" alt="" coords="991,29,1191,59"/><area shape="rect" id="node22" href="class_log_system.html#ac891dbbf0efb28b572555ee797b56998" title="LogSystem::LogSystem" alt="" coords="515,188,677,217"/><area shape="rect" id="node26" href="class_log_system.html#ad18f58f1ad0e8f23dc524c2f55d3e8fc" title="LogSystem::ajouterConsoleLog" alt="" coords="495,241,697,271"/><area shape="rect" id="node30" href="class_log_system.html#a26650fa1e4d9792106e4c3ddd727aaa9" title="LogSystem::ajouterFichierLog" alt="" coords="499,295,693,324"/><area shape="rect" id="node28" href="class_log_message.html#a2c6798fafd31aa115d18bd348da69e25" title="LogMessage::what" alt="" coords="779,268,909,297"/></map>
</div>
</p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a380c3a467b58c175aef4f2cdc0f7a2c7_icgraph.png" border="0" usemap="#class_pile_a380c3a467b58c175aef4f2cdc0f7a2c7_icgraph" alt=""/></div>
<map name="class_pile_a380c3a467b58c175aef4f2cdc0f7a2c7_icgraph" id="class_pile_a380c3a467b58c175aef4f2cdc0f7a2c7_icgraph">
<area shape="rect" id="node3" href="class_main_window.html#a4e20a4a065fbb0e4d3532a45a0a91425" title="MainWindow::closeEvent" alt="" coords="211,5,381,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aaae1107e877f7094bdbd97839c731634"></a><!-- doxytag: member="Pile::size" ref="aaae1107e877f7094bdbd97839c731634" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_pile.html#aaae1107e877f7094bdbd97839c731634">Pile::size</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="pile_8h_source.html#l00022">22</a> du fichier <a class="el" href="pile_8h_source.html">pile.h</a>.</p>

</div>
</div>
<a class="anchor" id="a91875101e0976f054d1db8869a00b11d"></a><!-- doxytag: member="Pile::sum" ref="a91875101e0976f054d1db8869a00b11d" args="(unsigned int x=2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_constante.html">Constante</a> * <a class="el" href="class_pile.html#a91875101e0976f054d1db8869a00b11d">Pile::sum</a> </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>x</em> = <code>2</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Somme sur la pile</p>
<p>Effectue la somme sur les <em>x</em> premiers éléments de la pile, en fonction du paramètre. Pour cela, on ajoute au résultat (qui est un <a class="el" href="class_complexe.html">Complexe</a>) la valeur de l'élément dépilé. On empile ensuite le résultat </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td><a class="el" href="class_entier.html">Entier</a> correspondant au nombre d'éléments à sommer </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Une <em><a class="el" href="class_constante.html">Constante</a></em> contenant le résultat de la somme</dd></dl>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00098">98</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="class_pile_a91875101e0976f054d1db8869a00b11d_cgraph.png" border="0" usemap="#class_pile_a91875101e0976f054d1db8869a00b11d_cgraph" alt=""/></div>
<map name="class_pile_a91875101e0976f054d1db8869a00b11d_cgraph" id="class_pile_a91875101e0976f054d1db8869a00b11d_cgraph">
<area shape="rect" id="node3" href="class_constante.html#a243b6eabd1fd476af827c5b523cddfac" title="Constante::addition" alt="" coords="132,5,265,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab6c3f9840427e2be87e0d76c8697fff5"></a><!-- doxytag: member="Pile::swap" ref="ab6c3f9840427e2be87e0d76c8697fff5" args="(unsigned int x, unsigned int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_pile.html#ab6c3f9840427e2be87e0d76c8697fff5">Pile::swap</a> </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Échange</p>
<p>Échange des deux éléments dont les positions sont passées en paramètres </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td><a class="el" href="class_entier.html">Entier</a>, position du premier élément </td></tr>
    <tr><td class="paramname">y</td><td><a class="el" href="class_entier.html">Entier</a>, position du second élément</td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="pile_8cpp_source.html#l00179">179</a> du fichier <a class="el" href="pile_8cpp_source.html">pile.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a25c322d47a76d758565bdf9df2253411"></a><!-- doxytag: member="Pile::top" ref="a25c322d47a76d758565bdf9df2253411" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_constante.html">Constante</a>* <a class="el" href="class_pile.html#a25c322d47a76d758565bdf9df2253411">Pile::top</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="pile_8h_source.html#l00019">19</a> du fichier <a class="el" href="pile_8h_source.html">pile.h</a>.</p>

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir des fichiers suivants :<ul>
<li>/home/yuntux/UTC/GI02/LO21/projet/projet_propre/<a class="el" href="pile_8h_source.html">pile.h</a></li>
<li>/home/yuntux/UTC/GI02/LO21/projet/projet_propre/<a class="el" href="pile_8cpp_source.html">pile.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Généré le Samedi Juin 16 2012 23:51:37 pour Calculatrice polonais inversé LO21 par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
